package com.woniu.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class SiteDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "站点ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "站点名称")
    private String siteName;

    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "营业时间")
    private List<BusinessHoursDto> businessHours;

    @ApiModelProperty(value = "状态（1正常 0暂停营业）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "站点联系人电话")
    private String siteUserPhone;

    @ApiModelProperty(value = "站点简介")
    private String siteDesc;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区县")
    private String district;

    @ApiModelProperty(value = "被评分次数")
    private Integer ratedNum;

    @ApiModelProperty(value = "总评分")
    private Integer ratedAll;

    @ApiModelProperty(value = "站长姓名")
    private String userName;

    @ApiModelProperty(value = "站长Id")
    private Integer userId;

}
